package JAVACORE_TRAINING.ADVANCED.SWING;

import javax.swing.JFrame;
import javax.swing.JLabel;

public class HelloWorld extends JFrame{
	public HelloWorld() {
		setSize(300, 400);
		this.setLocation(300, 200);
		setVisible(true);
		//setResizable(false);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setTitle("Hello world!");
		add(new JLabel("Hello world"));
	}
	public static void main(String[] args) {
		new HelloWorld();
	}

}
